import numpy as np

array = np.array([[1, 2, 3], [4, 5, 6]])

a=array[:][-1]
print(a)